package com.tich.order.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class OrderSelectVO {

    /**
     * 订单id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 节目id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long programId;

    /**
     * 门票种类
     */
    private String ticketCategory;

    /**
     * 节目海报
     */
    private String programPoster;

    /**
     * 节目标题
     */
    private String programTitle;

    /**
     * 节目演出地点
     */
    private String programPlace;

    /**
     * 节目演出时间
     */
    private LocalDateTime programShowTime;

    /**
     * 购票数量
     */
    private Integer count;

    /**
     * 实付金额
     */
    private Integer money;

    /**
     * 订单状态，1:未支付 2:已取消 3:已支付 4:已退款
     */
    private Integer orderStatus;

    /**
     * 退款时间
     */
    private LocalDateTime refundTime;

    /**
     * 订单取消时间
     */
    private LocalDateTime cancelOrderTime;

    /**
     * 订单支付时间
     */
    private LocalDateTime payOrderTime;

    /**
     * 观演人信息
     * */
    private List<ViewerInfoSelectVO> viewerInfoSelectVOS;

}
